package com.xyy.saas.payment.merchant.core.vo;

import com.xyy.saas.payment.cores.enums.CertTypeEnum;
import com.xyy.saas.payment.cores.enums.ContactEnum;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * @Author: wuqiongda
 * @Date: 2019/11/21 17:25
 */
public class ContactInfoVo implements Serializable {

    private static final long serialVersionUID = 1834095350673868581L;

	/** 业务方用户id */
    @NotEmpty(message = "业务方用户id不能为空")
    private String userId;

    @NotEmpty(message = "业务方用户id不能为空")
    /** 用户在ping++的编号 不用传 */
    private String accNo;

	/** 联系人类型 */
    @NotEmpty(message = "联系人类型不能为空")
    private ContactEnum contactType;

	/** 联系人名称 */
    @NotEmpty(message = "联系人名称不能为空")
    private String contactName;

	/** 证件类型 */
    @NotEmpty(message = "证件类型不能为空")
    private CertTypeEnum contactCertType;

	/** 联系人证件号 */
    @NotEmpty(message = "联系人证件号不能为空")
    private String contactCertNo;

	/** 证件起始日期 格式：yyyy-mm-dd */
    @NotEmpty(message = "证件起始日期不能为空")
    private String contactCertValidFrom;

	/** 证件结束日期 格式：yyyy-mm-dd */
    @NotEmpty(message = "证件结束日期不能为空")
    private String contactCertValidUntil;

	/** 联系人手机号 */
    @NotEmpty(message = "联系人手机号不能为空")
    private String contactCertMobile;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getAccNo() {
        return accNo;
    }

    public void setAccNo(String accNo) {
        this.accNo = accNo;
    }

    public String getContactName() {
        return contactName;
    }

    public void setContactName(String contactName) {
        this.contactName = contactName;
    }

    public String getContactCertNo() {
        return contactCertNo;
    }

    public void setContactCertNo(String contactCertNo) {
        this.contactCertNo = contactCertNo;
    }

    public String getContactCertValidFrom() {
        return contactCertValidFrom;
    }

    public void setContactCertValidFrom(String contactCertValidFrom) {
        this.contactCertValidFrom = contactCertValidFrom;
    }

    public String getContactCertValidUntil() {
        return contactCertValidUntil;
    }

    public void setContactCertValidUntil(String contactCertValidUntil) {
        this.contactCertValidUntil = contactCertValidUntil;
    }

    public String getContactCertMobile() {
        return contactCertMobile;
    }

    public void setContactCertMobile(String contactCertMobile) {
        this.contactCertMobile = contactCertMobile;
    }

    public CertTypeEnum getContactCertType() {
        return contactCertType;
    }

    public ContactEnum getContactType() {
        return contactType;
    }

    public void setContactType(ContactEnum contactType) {
        this.contactType = contactType;
    }

    public void setContactCertType(CertTypeEnum contactCertType) {
        this.contactCertType = contactCertType;
    }
}
